﻿@using System.Threading.Tasks
@using TimerTask.Common.Utils
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>@ViewBag.Title</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- Bootstrap 3.3.6 -->
    <link href="/css/bootstrap.min.css?v=@AppConfig.Instance.Ver" rel="stylesheet">
    <!-- Font Awesome -->
    <link href="/css/font-awesome.min.css?v=@AppConfig.Instance.Ver" rel="stylesheet">
    <!-- Ionicons -->
    <link rel="stylesheet" href="/lte/css/ionicons.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="/lte/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. Choose a skin from the css/skins
         folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="/lte/css/skins/_all-skins.min.css">
    <!-- 以上为公共css -->
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <script>
        function iFrameHeight() {
            var ifm = document.getElementById("content");
            var subWeb = document.frames ? document.frames["content"].document : ifm.contentDocument;
            if (ifm != null && subWeb != null) {
                ifm.height = subWeb.body.scrollHeight;
            }
        }
    </script>
</head>
<body class="sidebar-mini ajax-template skin-blue fixed">
    <div class="wrapper">

        <header class="main-header">
            <!-- Logo -->
            <a href="@Url.Action("index", "Home")" class="logo">
                <!-- mini logo for sidebar mini 50x50 pixels -->
                <span class="logo-mini">T.T</span>
                <!-- logo for regular state and mobile devices -->
                <span class="logo-lg">定时任务系统</span>
            </a>
            <!-- Header Navbar: style can be found in header.less -->
            <nav class="navbar navbar-static-top">
                <!-- Sidebar toggle button-->
                <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
                    <span class="sr-only">切换导航</span>
                </a>

                <div class="navbar-custom-menu">
                </div>
            </nav>
        </header>
        <!-- Left side column. contains the logo and sidebar -->
        <aside class="main-sidebar">
            <!-- sidebar: style can be found in sidebar.less -->
            <section class="sidebar">
                <!-- Sidebar user panel -->
                <div class="user-panel">
                    <div class="pull-left image">
                        <img src="/images/logo.png" class="img-circle" alt="User Image">
                    </div>
                </div>
                <!-- sidebar menu: : style can be found in sidebar.less -->
                <ul class="sidebar-menu">
                    <li class="header">主页</li>
                    <li class="active treeview">
                        <a href="#">
                            <i class="fa fa-dashboard"></i>
                            <span>面板</span>
                            <span class="pull-right-container">
                                <i class="fa fa-angle-left pull-right"></i>
                            </span>
                        </a>
                        <ul class="treeview-menu">  
                            <li class="active">
                                <a target="navTab" href="@Url.Action("Main", "Home")"><i class="fa fa-circle-o"></i>主页</a>
                            </li>
                        </ul>
                    </li>
                    <li class="treeview">
                        <a href="#">
                            <i class="fa fa-th"></i>
                            <span>定时任务</span>
                            <span class="pull-right-container">
                                <i class="fa fa-angle-left pull-right"></i>
                            </span>
                        </a>
                        <ul class="treeview-menu">
                            <li><a target="navTab" href="@Url.Action("Index", "Job")"><i class="fa fa-circle-o"></i> 任务列表</a></li>
                        </ul>
                    </li>
                </ul>
            </section>
            <!-- /.sidebar -->
        </aside>

        <!-- Content Wrapper. Contains page content -->
        <div class="content-wrapper">
            <!-- Content Header (Page header) -->
            <section class="content-header-navtabs">
                <div class="tabs-page">
                    <ul class="tabs-list clearfix" id="navTabs">
                        <li class="active"><span>我的主页</span></li>
                    </ul>
                    <a href="javascript:void(0);" class="prev fa fa-step-backward"></a>
                    <a href="javascript:void(0);" class="next fa fa-step-forward"></a>
                </div>
            </section>
            <!-- Main content -->
            <section class="content" id="content">
                <div class="tabs-panel">
                    <h1>欢迎使用</h1>
                    <div class="callout callout-warning">
                        <h4>温馨提示!</h4>
                        <p>欢迎使用。包含定时任务
                        </p>
                    </div>
                </div>
                @RenderBody()
            </section>
            <!-- /.content -->
        </div>
        <!-- /.content-wrapper -->
        <footer class="main-footer">
            <div class="pull-right hidden-xs">
                <b>Version</b> @AppConfig.Instance.Ver
            </div>
            <strong>Copyright &copy; 2016 <a href="http://jhb.net">进货宝</a>.</strong> All rights
            reserved.
        </footer>
        <!-- Add the sidebar's background. This div must be placed
             immediately after the control sidebar -->
        <div class="control-sidebar-bg"></div>
    </div>
    <div id="loading" class="loading-panel">
        <div class="box">
            <i class="fa fa-refresh fa-spin"></i>
            <span class="tip">
                正在加载 · · ·
            </span>
        </div>
    </div>
    <script src="/lib/jquery/dist/jquery.min.js?v=@AppConfig.Instance.Ver"></script>
    <script src="/lib/bootstrap/dist/js/bootstrap.min.js?v=@AppConfig.Instance.Ver"></script>
    <!-- AdminLTE App -->
    <script src="/lte/js/app.min.js?v=@AppConfig.Instance.Ver"></script>
    <!-- Slimscroll -->
    <script src="lte/plugins/slimScroll/jquery.slimscroll.min.js?v=@AppConfig.Instance.Ver"></script>
    <!-- ./wrapper -->
</body>
</html>
